package com.syh.core.ddd.domain;

/**
 * Created by soci.song on 2018/9/28.
 */
public enum CodeExpEnum {

    PURCHASE_ORDER_EXP("01","采购订单","\\b[0][1]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    PURCHASE_RETURN_ORDER_EXP("02","采购退货订单","\\b[0][2]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    SALES_ORDER_EXP("03","销售订单","\\b[0][3]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    SALES_RETURN_ORDER_EXP("04","销售退货订单","\\b[0][4]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    INCOME_BILL_EXP("05","收入单","\\b[0][5]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    PAYMENT_BILL_EXP("06","付款单","\\b[0][6]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    RECEIIPT_BILL_EXP("07","收款单","\\b[0][7]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    BUSINESS_ACCOUNT_RECORD_EXP("08","单位应收付记录","\\b[0][8]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    COST_BILL_EXP("09","费用单","\\b[0][9]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    STATEMENT_ACCOUNT_BILL_EXP("10","对账单","\\b[1][0]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    STOCK_LOSS_BILL_EXP("11","报损单","\\b[1][1]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    STOCK_SPILL_BILL_EXP("12","报溢单","\\b[1][2]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    STOCK_RECORD_BILL_EXP("13","出入库单号","\\b[1][3]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    UP_GOODS_APPLY_EXP("14","上游商品申请编号","\\b[1][4]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    SUPPLIER_CODE_EXP("15","服务商编码","\\b[1][5][0-9a-fA-F]{4}"),
    UPSTREAM_CODE_EXP("16","供应商编码","\\b[1][6][0-9a-fA-F]{4}"),
    DOWNSTREAM_CODE_EXP("17","客户编码","\\b[1][7][0-9a-fA-F]{4}"),
    LOGISTICS_BILL_CODE_EXP("18","物流单据","\\b[1][8][0-9a-fA-F]{4}"),
    STOCK_OTHER_IN_BILL_EXP("19","其他入库单","\\b[1][9]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    STOCK_OTHER_OUT_BILL_EXP("20","其他出库单","\\b[2][0]\\d{2}[0-1][0-2][0-3][0-9]\\d*"),
    OPERATION_CODE_EXP("syh","运营编码","\\b[s][y][h]");

    private String codeExp;
    private String codeExpName;
    private String codeRegexp;

    CodeExpEnum(String codeExp, String codeExpName,String codeRegexp) {
        this.codeExp = codeExp;
        this.codeExpName = codeExpName;
        this.codeRegexp = codeRegexp;
    }

    public String getCodeExp() {
        return codeExp;
    }
    public String getCodeExpName() {
        return codeExpName;
    }
    public String getCodeRegexp() {
        return codeRegexp;
    }
}
